<!DOCTYPE html> 
<html> 
<head> 
	<title>登录简法</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<link rel="stylesheet" href="http://lib.sinaapp.com/js/jquery-mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
	<script src="http://lib.sinaapp.com/js/jquery/1.8.3/jquery.min.js"></script>
	<script src="http://lib.sinaapp.com/js/jquery-mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
</head> 
<body> 

<div data-role="page" id="login-form">
	<div data-role="header">
		<h1>欢迎伙伴们登录</h1>
	</div>

	<div data-role="content" data-inset="true">	
	<p id="output"></p>
<form method="post" action="" data-ajax="false" id="loginForm">{% csrf_token %}
            <fieldset>

            <label for="email">用户名:</label>
            <input id="id_username" maxlength="20" type="text" name="username"  placeholder="请输入用户名" />

            <label for="password">密码:</label>
            <input id="id_password" name="password" type="password" placeholder="请输入密码" value="" />

                <input id="Submit1" type="submit" value="登录" data-role="button" data-inline="true" data-theme="b" />
  			<input type="hidden" name="next" value="{{ next }}" />

            <hr />
            任何问题请联系管理员.
            </fieldset>
        </form>
        
	</div>


</div><!--page login-form-->


        <script type="text/javascript">
          $(function(){
            $('#id_username').focus() }
           )
        </script>



</body>
</html>
